// import { Component, Vue } from "vue-property-decorator";
//所有与店铺相关的接口封装在这里
import axios from '@/utils/request';



// 获取商品数据接口----/goods/goods_list
export const goodsData = () => {
    return axios({
        url: '/goods/goods_list ',
        method: 'get',
    });
}



// 店铺信息  ---/shop/seller

export const shopData = () => {
    return axios({
        url: '/shop/seller',
        method: 'get',
    });
}

// 获取评价数据
export const ratingsData = () => {
    return axios({
        url: '/shop/ratings',
        method: 'get',
    });
}